package com.imut.service;

import com.imut.entity.Account;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
@Transactional
public interface AccountService {

    boolean insertAll(Account book);

    boolean updateById(Account book);

    boolean deleteById(Integer id);

    Account selectById(Integer id);

    List<Account> selectAll();
}
